[#escape x as (x)!?html]
[#if global.customs['oauth']! == '1']
    [#assign oauthWeixinUrl]${ctx}/support_genuine.html[/#assign]
    [#assign oauthQqUrl]${ctx}/support_genuine.html[/#assign]
    [#assign oauthWeiboUrl]${ctx}/support_genuine.html[/#assign]
[#elseif global.customs['oauth']! == '2']
    [#assign oauthWeixinUrl]javascript:alert('请先设置好第三方平台appid和secret，再开启第三方登录');[/#assign]
    [#assign oauthQqUrl]javascript:alert('请先设置好第三方平台APP_ID和APP_KEY，再开启第三方登录');[/#assign]
    [#assign oauthWeiboUrl]javascript:alert('请先设置好第三方平台CLIENT_ID和CLIENT_SERCRET，再开启第三方登录');[/#assign]
[#elseif global.customs['oauth']! == '3']
    [#assign oauthWeixinUrl]${ctx}/oauth/login/weixin?fallbackUrl=${Param.fallbackUrl!?url}[/#assign]
    [#assign oauthQqUrl]${ctx}/oauth/login/qq?fallbackUrl=${Param.fallbackUrl?url}[/#assign]
    [#assign oauthWeiboUrl]${ctx}/oauth/login/weibo?fallbackUrl=${Param.fallbackUrl?url}[/#assign]
[/#if]
[#if oauthWeixinUrl?? && oauthQqUrl?? && oauthWeiboUrl??]
<!-- style="background-color:#e32529;"-->
<a href="${oauthWeiboUrl}" class="text-light"><i class="fab fa-weibo rounded-circle p-2 bg-danger"></i></a>
<!-- style="background-color:#0076c4;"-->
<a href="${oauthQqUrl}" class="text-light"><i class="fab fa-qq rounded-circle p-2 bg-primary"></i></a>
<!-- style="background-color:#00bc0c;"-->
<a href="${oauthWeixinUrl}" class="text-light"><i class="fab fa-weixin rounded-circle p-2 bg-success"></i></a>
[/#if]
[/#escape]